package cn.powerone.scm.tasks;

import cn.powerone.scm.service.IScmSequenceParmService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Component;

@Component("yearlyTask")
@RequiredArgsConstructor
public class YearlyTask {

    private final IScmSequenceParmService scmSequenceParmService;
    public void resetSeqParm(){
        scmSequenceParmService.resetAllSeqToOne();
    }
}